import Json from './json';
import Json5 from './json5';
import Yaml from './yaml';
import Toml from './toml';

export function createTextCoders() {
  return [
    new Json.Decoder(),
    new Json5.Decoder(),
    new Yaml.Decoder(),
    new Toml.Decoder(),
  ];
}

export function createDataCoders() {
  return [
    new Json.Encoder(),
    new Json5.Encoder(),
    new Yaml.Encoder(),
    new Toml.Encoder(),
  ];
}
